<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="webjars/bootstrap/css/bootstrap.css">
    <script type="text/javascript" src="webjars/jquery/jquery.js"></script>
    <script type="text/javascript" src="webjars/angularjs/angular.js"></script>
    <script type="text/javascript" src="webjars/angularjs/angular-route.js"></script>
    <script type="text/javascript" src="webjars/angularjs/angular-resource.js"></script>
    <script type="text/javascript" src="webjars/angularjs/angular-animate.js"></script>
    <script type="text/javascript" src="webjars/angular-ui-bootstrap/ui-bootstrap-tpls.js"></script>
    <script type="text/javascript" src="webjars/echarts/3.2.2/dist/echarts.js"></script>
    <script type="text/javascript" src="resources/js/echarts.js"></script>

    <script type="text/javascript" src="module/host/js/app.js"></script>
    <script type="text/javascript" src="module/host/js/controller.js"></script>
    <script type="text/javascript" src="module/host/js/service.js"></script>
    <script type="text/javascript" src="module/env/js/app.js"></script>
    <script type="text/javascript" src="module/env/js/controller.js"></script>
    <script type="text/javascript" src="module/env/js/service.js"></script>
    <script type="text/javascript" src="module/image/js/app.js"></script>
    <script type="text/javascript" src="module/image/js/controller.js"></script>
    <script type="text/javascript" src="module/image/js/service.js"></script>
    <script type="text/javascript" src="module/container/js/app.js"></script>
    <script type="text/javascript" src="module/container/js/controller.js"></script>
    <script type="text/javascript" src="module/container/js/service.js"></script>
    <script type="text/javascript" src="module/network/js/app.js"></script>
    <script type="text/javascript" src="module/network/js/controller.js"></script>
    <script type="text/javascript" src="module/network/js/service.js"></script>
    <script type="text/javascript" src="module/metrics/js/app.js"></script>
    <script type="text/javascript" src="module/metrics/js/controller.js"></script>
    <script type="text/javascript" src="module/metrics/js/service.js"></script>

</head>
<body ng-app="app">
<header class="navbar navbar-static-top bs-docs-nav" id="top">
    <div class="container">
        <div class="navbar-header">
            <a href="#" class="navbar-brand">Dockman</a>
        </div>
        <nav id="bs-navbar">
            <ul class="nav navbar-nav">
                <li>
                    <a href="#/env">环境</a>
                </li>
                <li>
                    <a href="../css/">项目</a>
                </li>
                <li>
                    <a href="../css/">应用</a>
                </li>
                <li class="active">
                    <a href="../css/">Volume</a>
                </li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="http://maven.aliyun.com" target="_blank">nexus</a></li>
            </ul>
        </nav>
    </div>
</header>
<div ng-view class="container"></div>
</body>
<script type="text/javascript">
    angular.module('app', [
        'ui.bootstrap',
        'ngRoute',
        'dockman.host',
        'dockman.env',
        'dockman.image',
        'dockman.container',
        'dockman.network',
        'dockman.metrics'
    ]).config(['$locationProvider', '$routeProvider', function ($locationProvider, $routeProvider) {
        $locationProvider.hashPrefix('');
        $routeProvider
                .when('/env', {
                    templateUrl: 'module/env/index.html'
                })
                .when('/host/:envId', {
                    templateUrl: 'module/host/index.html'
                })
                .when('/host/info/:id', {
                    templateUrl: 'module/host/view/index.html'
                });
    }]);

</script>
</html>